
import java.util.Scanner;

public class Main1031 {
    public static void main(String[] args) {
        Scanner in =new Scanner(System. in);
        double n =in. nextDouble();
        double a =9*n /5+32;
        System.out.print(String.format("%.2f",a ));


    }
}
